<template>
  <div id="app">
 
   <router-view/>
  </div>

</template>

<script>

export default {
  name: 'app',
created() {
    const { dispatch } = this.$store;
    dispatch("SET_FILEIP");
     // 权限分配1.0
        this.Api.PermissionCode().then((res) => {
            // console.log(res, "权限的表")
            let newarr = res.data.resList;
            // console.log(newarr, "权限的表")
            let strArr = JSON.stringify(newarr);
            sessionStorage.setItem("btnAuth", strArr);
        });
  },
 
}
</script>

<style>

</style>
